@charset "utf-8";
@import "_common.scss";

$mainColor: #f39800;

.web {
  position: relative;
  width: 100%;
  overflow: hidden;
  header {
    position: absolute;
    width: 100%;
    height: 160px;
    top: 0;
    left: 0;
    z-index: 999;
    transition: all 0.5s;
    .nav_box {
      position: absolute;
      left: 0;
      top: 0;
      height: 80px;
      line-height: 80px;
      width: 100%;
      padding: 0 4%;
      box-sizing: border-box;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .logo {
        width: 62px;
        height: 36px;
        a {
          display: block;
          width: 100%;
          height: 100%;
          img {
            width: 100%;
            vertical-align: top;
          }
        }
      }
      .nav {
        display: flex;
        height: 100%;
        li {
          position: relative;
          margin: 0 20px;
          vertical-align: middle;
          > a {
            display: block;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            font-weight: 600;
            transition: all 1s;
          }
          &::after {
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            display: block;
            content: "";
            width: 0%;
            height: 4px;
            background-color: $mainColor;
            transform-origin: center;
            transition: all 0.3s;
          }
          &:hover {
            &::after {
              width: 100%;
              transform-origin: center;
            }
            > a {
              color: $mainColor !important;
              text-shadow: 0px 2px 5px #000;
            }
            .nav_01 {
              transform: translateY(100%) scale(1);
              opacity: 1;
              bottom: 0;
            }
          }
          .nav_01 {
            position: absolute;
            left: 0;
            bottom: 10px;
            transform: translateY(100%) scale(0);
            opacity: 0;
            transition: bottom 0.5s, opacity 0.5s;
            transform-origin: center top;
            span {
              position: relative;
              display: block;
              height: 25px;
              &::after {
                position: absolute;
                left: 25px;
                bottom: -1px;
                content: "";
                display: inline-block;
                border: 10px solid #fff;
                border-color: transparent transparent #fff transparent;
              }
            }
            .items {
              background-color: #fff;
              padding: 20px 40px;
              > a {
                display: block;
                white-space: nowrap;
                line-height: 2;
                color: #000;
                &:hover {
                  color: $mainColor;
                }
              }
            }
          }
        }
      }
      .search {
        a {
          font-size: 30px;
          color: #fff;
          &:hover {
            color: #f39800 !important;
          }
        }
      }
    }
    .search_box {
      visibility: hidden;
      position: absolute;
      left: 0;
      top: 80px;
      width: 100%;
      height: 80px;
      transition: all 0.5s;
      opacity: 0;
      .ipt {
        position: absolute;
        left: 50%;
        top: 60%;
        transform: translate(-50%, -50%);
        width: 380px;
        height: 40px;
        transition: all 0.5s;
        input {
          width: 100%;
          height: 100%;
          font-size: 14px;
          border: none;
          border-bottom: 2px solid $mainColor;
          outline: none;
          padding: 0 48px 0 10px;
          box-sizing: border-box;
          background-color: transparent;
        }
        i {
          position: absolute;
          right: 0;
          top: 0;
          line-height: 40px;
          font-size: 18px;
          color: $mainColor;
          font-weight: bold;
          padding: 0 15px;
          cursor: pointer;
        }
      }
      i {
        position: absolute;
        right: 3%;
        top: 0;
        padding: 0 20px;
        line-height: 80px;
        font-size: 18px;
        color: #a4a4a4;
        cursor: pointer;
        &:hover {
          color: $mainColor;
        }
      }
    }
    &.active {
      background-color: #000;
      .search_box {
        visibility: visible;
        background-color: #f7f7f7;
        opacity: 1;
        .ipt {
          top: 50%;
        }
      }
    }
  }
  #fullpage {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 1s;
    left: 0;
    top: 0;
    .section {
      width: 100%;
      margin: 0;
    }
    // 第一屏
    .section1 {
      .swiper_box {
        position: relative;
        height: 100%;
        .swiper {
          width: 100%;
          height: 100%;
          position: absolute;
          white-space: nowrap;
          font-size: 0;
          overflow: hidden;
          li {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            opacity: 0;
            transform: scale(1.15);
            transition: all 0.3s linear;
            &.active {
              z-index: 99;
              opacity: 1;
              transform: scale(1);
            }
          }
        }
        .point {
          position: absolute;
          z-index: 100;
          left: 50%;
          bottom: 10%;
          transform: translateX(-50%);
          display: flex;
          li {
            margin: 0 20px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            cursor: pointer;
            background-color: rgba(255, 255, 255, 0.4);
            &.active {
              background-color: #fff;
            }
          }
        }
      }
    }
    // 第二屏
    .section2 {
      .swiper_box {
        position: relative;
        height: 70%;
        .swiper {
          width: 100%;
          height: 100%;
          position: absolute;
          white-space: nowrap;
          font-size: 0;
          overflow: hidden;
          li {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            opacity: 0;
            transform: scale(1.15);
            transition: all 0.3s linear;
            &.active {
              z-index: 99;
              opacity: 1;
              transform: scale(1);
            }
          }
        }
        .swiper_left {
          li {
            position: absolute;
            left: 12.5%;
            top: 50%;
            transform: translateY(-50%);
            z-index: -999;
            &.active {
              z-index: 999;
              small {
                opacity: 1;
              }
              h3 {
                opacity: 1;
                transform: translateY(0);
              }
              a {
                opacity: 1;
                transform: translateY(0);
              }
            }
            small {
              opacity: 0;
              font-size: 16px;
              line-height: 24px;
              color: #fff;
              font-weight: bold;
              transition: all 1s 0.1s;
            }
            h3 {
              opacity: 0;
              font-size: 32px;
              line-height: 48px;
              color: #fff;
              font-weight: bold;
              transform: translateY(10px);
              transition: all 1s 0.1s;
            }
            a {
              opacity: 0;
              position: relative;
              display: inline-block;
              font-size: 14px;
              color: #000;
              padding: 10px 38px;
              margin-top: 16px;
              transform: translateY(10px);
              transition: all 1s 0.1s;
              &::before {
                position: absolute;
                top: 0;
                right: 0;
                display: block;
                content: "";
                width: 100%;
                height: 100%;
                z-index: -10;
                background-color: #fff;
              }
              &::after {
                position: absolute;
                top: 0;
                right: 0;
                display: block;
                content: "";
                width: 0;
                height: 100%;
                z-index: -10;
                background-color: $mainColor;
                transition: all 0.5s;
              }
              &:hover {
                color: #fff;
                &::after {
                  width: 100%;
                }
              }
            }
          }
        }
        .swiper_right {
          position: absolute;
          right: 12.5%;
          top: 50%;
          transform: translateY(-50%);
          z-index: 999;
          font-weight: bold;
          b {
            color: #fff;
            font-size: 32px;
          }
          span {
            font-size: 18px;
            color: #fff;
            opacity: 0.5;
          }
        }
        .point {
          position: absolute;
          z-index: 100;
          left: 50%;
          bottom: 10%;
          transform: translateX(-50%);
          display: flex;
          li {
            margin: 0 20px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            cursor: pointer;
            background-color: rgba(255, 255, 255, 0.4);
            &.active {
              background-color: #fff;
            }
          }
        }
      }
      .swiper_small {
        height: 30%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        .pic_box {
          height: 65%;
          width: 15%;
          .small {
            height: 70%;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center center;
          }
          p {
            height: 30%;
            display: flex;
            justify-content: center;
            align-items: center;
          }
          &:hover {
            p {
              color: $mainColor;
            }
          }
        }
      }
    }
    // 第三屏
    .section3 {
      .sect3_top {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        .swiper {
          width: 80%;
          height: 65%;
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
          li {
            transition: transform 0.5s;
            transform: scale(0.8);
            position: absolute;
            left: 0;
            top: 0;
            cursor: pointer;
            width: 100%;
            height: 100%;
            &:hover .right_text .text_box {
              .mid {
                h3 {
                  color: $mainColor;
                }
              }
              & > a {
                color: $mainColor;
              }
            }
            &.active {
              z-index: 99;
              transform: scale(1);
              .left_img {
                transform: translateX(0);
              }
              .right_text {
                transform: translateX(0);
              }
            }
            .left_img {
              position: absolute;
              left: 0;
              top: 0;
              background-color: #fff;
              width: 50%;
              height: 100%;
              background-position: center;
              background-size: cover;
              transform: translateX(-200%);
              transition: transform 1s 0.5s;
              box-shadow: -1px 1px 10px #ccc;
            }
            .right_text {
              position: absolute;
              right: 0;
              top: 0;
              background-color: #fff;
              width: 50%;
              height: 100%;
              box-shadow: 1px 1px 10px #ccc;
              transform: translateX(200%);
              transition: transform 1s 0.5s;
              .text_box {
                width: 80%;
                height: 85%;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                display: flex;
                justify-content: space-between;
                flex-direction: column;
                .topic {
                  display: flex;
                  justify-content: space-between;
                  font-size: 14px;
                  p {
                    font-weight: bold;
                  }
                  a {
                    color: #919191;
                    &:hover {
                      color: $mainColor;
                      text-decoration: underline;
                    }
                  }
                }
                .mid {
                  width: 100%;
                  height: 60%;
                  font-size: 14px;
                  h3 {
                    font-size: 20px;
                    font-weight: bold;
                    line-height: 1.5;
                    color: #000;
                    transition: all 0.3s;
                    &::after {
                      content: "";
                      display: block;
                      width: 100%;
                      height: 1px;
                      background-color: #919191;
                      margin: 10% 0;
                    }
                  }
                  .content {
                    line-height: 1.8;
                    overflow: hidden;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    -webkit-box-orient: vertical;
                  }
                }
                a {
                  vertical-align: middle;
                  i {
                    font-size: 20px;
                    vertical-align: middle;
                    margin-left: -4px;
                  }
                  color: #919191;
                  transition: all 0.3s;
                }
              }
            }
          }
        }
        .bg_img_box {
          position: absolute;
          left: 0;
          bottom: 0;
          width: 100%;
          height: 45%;
          z-index: -99;
          overflow: hidden;
          ul {
            li {
              position: absolute;
              left: 0;
              top: 0;
              width: 100%;
              height: 100%;
              img {
                width: 100%;
                height: 100%;
                filter: blur(20px);
              }
              &.active {
                z-index: 99;
              }
            }
          }
          .bg {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            opacity: 0.5;
            filter: blur(2px);
            background-image: url(../img/bottom.png);
            z-index: 999;
          }
        }
        .point {
          position: absolute;
          left: 50%;
          bottom: 8%;
          transform: translateX(-50%);
          display: flex;
          li {
            width: 10px;
            height: 10px;
            background-color: rgba(0, 0, 0, 0.3);
            border-radius: 50%;
            margin: 0 20px;
            &.active {
              background-color: #000;
            }
          }
        }
      }
      .sect3_bottom {
        width: 88%;
        height: 200px;
        padding: 30px 0;
        box-sizing: border-box;
        display: flex;
        margin: 0 auto;
        .left {
          flex: 1;
          width: 100%;
          height: 100%;
          a {
            font-size: 14px;
            color: #000;
            line-height: 2;
            font-weight: bold;
            transition: all 0.3s;
            &:hover {
              color: $mainColor;
            }
          }
          .other {
            font-size: 12px;
            color: #a6a6a6;
            line-height: 1.6;
          }
        }
        .mid {
          position: relative;
          flex: 2;
          ul {
            width: 80%;
            height: 100%;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-content: space-between;
            li {
              width: 33.3%;
              padding-right: 10px;
              box-sizing: border-box;
              h4 {
                color: #000;
                font-weight: bold;
                font-size: 14px;
                line-height: 2;
              }
              p {
                color: #a6a6a6;
                font-size: 12px;
                line-height: 1.6;
              }
            }
          }
          &:before {
            content: "";
            display: block;
            position: absolute;
            left: 0;
            top: 0;
            width: 2px;
            height: 100%;
            background-color: #e0e0e0;
            z-index: -99;
          }
          &:after {
            content: "";
            display: block;
            position: absolute;
            right: 0;
            top: 0;
            width: 2px;
            height: 100%;
            background-color: #e0e0e0;
            z-index: -99;
          }
        }
        .right {
          flex: 1;
          text-align: right;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          .contact {
            font-size: 14px;
            .platform {
              position: relative;
              display: inline-block;
              height: 30px;
              line-height: 30px;
              border-radius: 30px;
              background-color: $mainColor;
              padding: 0 20px;
              color: #fff;
              vertical-align: middle;
              i {
                padding-left: 20px;
                color: #fff;
              }
              &:hover .plat_menu {
                visibility: visible;
                opacity: 1;
                transform: translateY(-100%);
              }
              .plat_menu {
                visibility: hidden;
                position: absolute;
                overflow: hidden;
                transition: all 0.5s;
                opacity: 0;
                border-radius: 5px 5px 0 0;
                left: 0;
                top: 0;
                transform: translateY(-110%);
                box-shadow: 0 30px 60px -2px rgba(77, 81, 84, 0.1);
                a {
                  background-color: #fff;
                  white-space: nowrap;
                  color: #000;
                  display: block;
                  padding: 0 20px;
                  line-height: 3;
                  &:hover {
                    color: $mainColor;
                    text-decoration: underline;
                  }
                }
                span {
                  position: relative;
                  font-size: 0;
                  display: block;
                  width: 100%;
                  height: 20px;
                  background-color: #f4f4f4;
                  &::before {
                    content: "";
                    display: block;
                    position: absolute;
                    left: 10%;
                    top: 0;
                    border: 10px solid transparent;
                    border-top-color: #fff;
                  }
                }
              }
            }
            & > i {
              position: relative;
              z-index: 99;
              display: inline-block;
              width: 32px;
              height: 32px;
              line-height: 32px;
              text-align: center;
              border-radius: 50%;
              background-color: #000;
              color: #fff;
              vertical-align: middle;
              margin-left: 20px;
              cursor: pointer;
              transition: all 0.3s;
              .wx_box {
                visibility: hidden;
                opacity: 0;
                transition: all 0.3s;
                cursor: default;
                position: absolute;
                left: 50%;
                top: 10%;
                width: 100px;
                transform: translate(-50%, -100%);
                .wx_content {
                  background-color: #fff;
                  box-shadow: 0 30px 60px -2px rgba(77, 81, 84, 0.1);
                  img {
                    display: block;
                    width: 100%;
                  }
                  p {
                    font-size: 14px;
                    height: 24px;
                    line-height: 24px;
                    color: #000;
                  }
                }
                span {
                  position: relative;
                  display: block;
                  height: 20px;
                  width: 100%;
                  &::after {
                    content: "";
                    display: block;
                    position: absolute;
                    left: 50%;
                    top: 0;
                    transform: translateX(-50%);
                    width: 0;
                    height: 0;
                    border: 8px solid transparent;
                    border-top-color: #fff;
                  }
                }
              }
              &:hover {
                background-color: $mainColor;
                .wx_box {
                  visibility: visible;
                  opacity: 1;
                  top: 0;
                }
              }
            }
          }
          .other {
            font-size: 12px;
            color: #a6a6a6;
          }
        }
      }
    }
  }
  .see_more {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px 8px 0 0;
    color: #fff;
    cursor: pointer;
    letter-spacing: 2px;
    vertical-align: middle;
    z-index: 99;
    span {
      position: relative;
      display: inline-block;
      vertical-align: middle;
      box-sizing: border-box;
      border-radius: 7px;
      width: 14px;
      height: 20px;
      margin-left: 8px;
      border: 1px solid #fff;
      &::before {
        display: block;
        content: "";
        width: 2px;
        height: 3px;
        background-color: #fff;
        position: absolute;
        left: 50%;
        top: 0;
        transform: translate(-50%, 2px);
        animation: point_motion 0.5s infinite alternate linear;
      }
      @keyframes point_motion {
        form {
          transform: translate(-50%, 2px);
        }
        to {
          transform: translate(-50%, 10px);
        }
      }
    }
  }
  .dialog_box {
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    perspective: 1200px;
    .dialog {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 58%;
      transform: translate(-50%, -50%) rotateX(30deg);
      padding: 1%;
      background-color: #fff;
      z-index: 99;
      transition: all 0.5s;
      img {
        width: 100%;
      }
      i {
        position: absolute;
        top: 0;
        right: 0;
        transform: translate(150%, -150%);
        cursor: pointer;
        color: #fff;
        font-weight: bold;
        font-size: 24px;
      }
    }
    &.active {
      visibility: visible;
      opacity: 1;
      .dialog {
        transform: translate(-50%, -50%) rotateX(0);
      }
    }
    .mark {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.3);
    }
  }
}
